﻿@{
    ViewBag.Title = "ShowTopic";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div id="cmlist">
    @{Html.RenderAction("ShowTopicPartial", new { id = ViewBag.TopicId });}
</div>
<div>
    @if (Request.IsAuthenticated)
    {
        Html.RenderAction("CreateComment", "Comment", new {id = ViewBag.TopicId});
    }
</div>